package cn.edu.cdu.farmdeal.domain;

import cn.edu.cdu.farmdeal.form.ProductForm;

public class ShopEntity extends ProductForm {
    private Integer shopId;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
    private String userName;

    private String shopName;

    private String shopAddress;

    private String shopDescrip;

    private String userId;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getShopDescrip() {
        return shopDescrip;
    }

    public void setShopDescrip(String shopDescrip) {
        this.shopDescrip = shopDescrip;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userName=").append(userName);
        sb.append(", shopName=").append(shopName);
        sb.append(", shopAddress=").append(shopAddress);
        sb.append(", shopDescrip=").append(shopDescrip);
        sb.append(", userId=").append(userId);
        sb.append("]");
        return sb.toString();
    }
}